#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""

"""
from xml.dom import minidom

dom = minidom.parseString('<myxml>Some data<empty/> some more data</myxml>');

print dom

print dom.documentElement

print dom.documentElement.tagName

print dom.documentElement.nodeName
print dom.documentElement.nodeValue

# cleanup
dom.unlink()

